package com.intelligentpension.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.intelligentpension.bean.WifiBean
import com.intelligentpension.kotlinwifi.R

/**
 * 版权：点赞 版权所有
 * author :赵航
 * @e-mail: zhaohangcn@gmail.com
 * time：2022/4/8
 * describe ：
 */
class ItemAdapter(layout:Int,list:MutableList<WifiBean>) :BaseQuickAdapter<WifiBean,BaseViewHolder>(layout,list){
    override fun convert(holder: BaseViewHolder, item: WifiBean) {
        holder.setText(R.id.wifi_item_id,item.name)
        holder.setText(R.id.wifi_mac_id,item.mac)
    }
}